package president;

import home.HomePage;

import java.io.IOException;
import java.io.Reader;
import java.io.Serializable;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.form.Button;
import org.apache.wicket.markup.html.form.CheckBox;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.list.ListItem;
import org.apache.wicket.markup.html.list.ListView;
import org.apache.wicket.model.IModel;

import com.ibatis.common.resources.Resources;
import com.ibatis.sqlmap.client.SqlMapClient;
import com.ibatis.sqlmap.client.SqlMapClientBuilder;

import controllers.BKCashAdvance;

public class ManageForms extends WebPage {
	
	

		public ManageForms() throws SQLException, IOException
		{
			
			Reader reader = Resources.getResourceAsReader("sqlMapConfig.xml");
			SqlMapClient sqlMap = SqlMapClientBuilder.buildSqlMapClient(reader);
			
			add(new BookmarkablePageLink("home", PresidentHome.class));
			add(new BookmarkablePageLink("logoutPage", HomePage.class));
			
			add(new BookmarkablePageLink("cash-advance", Forms.class));
			add(new BookmarkablePageLink("liquidation", Liquidation.class));
			add(new BookmarkablePageLink("subsidiary", Subsidiary.class));
			add(new BookmarkablePageLink("payroll", Payroll.class));
			add(new BookmarkablePageLink("properties", Properties.class));
			
		}
		
		
}
